﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    [Serializable]
    public class PROJECT_DEVELOP:IEntity
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        [DisplayName("项目ID"), Required, Key]
        public Guid PROJECT_DEVELOP_ID { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        [DisplayName("项目编号"), Required]
        public string PROJECT_NO { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [DisplayName("项目名称"), Required]
        public string PROJECT_NAME { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间"), Required]
        public DateTime CREATETIME { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [DisplayName("结束时间"), Required]
        public DateTime DEADTIME { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [DisplayName("项目ID"), Required]
        public string DESCRIPTION { get; set; }

        /// <summary>
        /// 项目业务联系人员
        /// </summary>
        [DisplayName("项目业务联系人员")]
        public string PROJECT_BUINESS_CONTACT { get; set; }

        /// <summary>
        /// 项目业务联系部门
        /// </summary>
        [DisplayName("项目业务联系部门")]
        public string PROJECT_BUINESS_DEPARTMENT { get; set; }

        /// <summary>
        /// 项目业务联系电话
        /// </summary>
        [DisplayName("项目业务联系电话")]
        public string PROEJECT_BUINESS_TEL { get; set; }

        /// <summary>
        /// 项目业务类型
        /// </summary>
        [DisplayName("项目业务类型") ]
        public string PROJECT_BUINESS_TYPE { get; set; }

        /// <summary>
        /// 项目级别
        /// Low 低
        /// Normal 中
        /// High 高
        /// </summary>
        [DisplayName("项目级别")]
        public string PROJECT_LEVEL { get; set; }

        /// <summary>
        /// 项目隶属的空间
        /// </summary>
        [DisplayName("项目隶属的空间"), Required]
        public Guid TEAMSPACE_ID { get; set; }

        /// <summary>
        /// 项目状态
        /// 0 为 进行中
        /// 1 为 项目结束
        /// </summary>
        [DisplayName("项目状态"), Required]
        public int STATUS { get; set; }
    }
}
